<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<html>
    <head>
        <title>Guenka Padrão</title>

        <%= stylesheet_link_tag('print', :media => "print")%>

        <%= stylesheet_link_tag "geral" %>
        <%= javascript_include_tag 'prototype' %>
        
    </head>
	
    <body>
      <div id="tudotudo">

        <div id="header">
            
            <div id="header_direita">
              <span><strong></strong> <%= session[:usuario]%></span>
              
              <% if session[:admin] %>
                     <span><%= link_to image_tag("admin.png", :width => "18") + " Funções administrativas", :controller => "usuario" %></span>
              <% end %>
              <span><%= link_to "Sair do sistema "+ image_tag("logout.png"), :action => "logout", :controller => "login"%></span>
            </div>
   
            <span style="margin-bottom: -5px;">Guenka</span>
        </div>
        
        <div id="menu">
            <%= link_to image_tag("mail.png") + " links dos modulos" %>
        </div>

        <div  align="center">
            <div id="tudo" align="left">
              
                <%= @content_for_layout %>
                
            </div>
        </div>
	

        <div id="bottom">
            <%= image_tag "guenka.png" %> 
            Guenka Software
        </div>
      </div>
    </body>
</html>